package br.com.mmm.javacenter.framework.view.taglib.helper;

import java.io.IOException;
import java.io.Writer;

import javax.servlet.jsp.JspContext;
import javax.servlet.jsp.tagext.JspFragment;

import br.com.mmm.javacenter.framework.annotations.RenderComponent;

@RenderComponent({
	int.class,
	Integer.class
})
public class InputNumeric extends Input {
	public InputNumeric() {
		
	}
	public InputNumeric(JspContext context, JspFragment fragment) {
		super(context, fragment);
	}

	public void attributes() throws IOException {
		writer.write(getAtributo("class", "numeric"));
	}
}
